package com.nifostasky.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.nifostasky.dao.StudentDao;
import com.nifostasky.entity.Student;
import com.nifostasky.service.StudentService;
import org.springframework.stereotype.Service;

/**
 * 学生信息表(Student)表服务实现类
 *
 * @author makejava
 * @since 2021-09-10 17:37:37
 */
@Service("studentService")
public class StudentServiceImpl extends ServiceImpl<StudentDao, Student> implements StudentService {

    @Override
    public Student queryUserById(Integer id) {
        Student student = baseMapper.selectById(id);
        return student;
    }
}